<template>
    <div id="app">
        <router-view></router-view>
    </div>
</template>

<script>
import 'babel-polyfill'
export default {
    name: 'app',
    created() {
    		if(!localStorage.logininfo){
    			this.$router.push({ path: '/' })
    		}
    }
}
</script>

<style lang="less" scoped>
	@import './assets/css/normalize.css';
	@import './assets/css/stylecover.css';
	@import './assets/css/common.css';
    /*@import './assets/css/less.less';*/
	html,body{
		width: 100%;
		height: 100%;
  		font-family: "微软雅黑", 'Microsoft JhengHei', Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif;
	}
	#app{
		width:100%;
		// min-width:1000px;
		height:100%;
		overflow: auto;
	}

</style>
